<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>


<style>
<!--
  td{
      vertical-align: top;
  }
  
  
    .btn{
      width:90px;
      height:30px;
      font-size:20px; 
  }
  -->
  
</style>

<form name='form1' method="post" target='result' action='result.jsp'>

<input type='hidden' name='op'>

hostAndPort <input type=text name="connstr" value="127.0.0.1:9999" style='width:500px'>   <br>
<input type="button"  value="connect" onclick="run('connect')"> 
<input type="button"  value="disConnect"  onclick="run('disConnect')"> 
<input type="button"  value="clientInfo" onclick="run('clientInfo')"> 

<br>
query <input type=text name="q" style='width:500px'> <br>

<!--  
resultType
<select name='resultType'>
   <option>text</option>
   <option>json</option>
-->
   
</select>

<input type="button"  value="queryMbean" onclick="run('queryMbean')"> 

<input type="button"  value="queryMbeanInfo" onclick="run('queryMbeanInfo')"> 


</form>


<hr>

<iframe name='result' width='99%' height='99%' border=0></iframe>


<script>
function run(op){
	// alert("op="+op);
	form1.op.value=op;
    // alert("form1.op.value="+form1.op.value);
    
    form1.submit();
		
}

</script>

